import { post,get,put,del } from '@/util/service'

export const addAdrApi=data=>{ 
    return post({
        url:"/restaurant/address/add",
        data
    })
}

export const delAdrApi=data=>{
    return del({
        url:"/restaurant/address/del?id="+data.id
    })
}

export const updateAdrApi=data=>{
    return put({
        url:"/restaurant/address/update",
        data
    })
}

export const getAdrApi=data=>{
    return get({
        url:"/restaurant/address/findAll",
        data
    })
}
